Saves the image to a file in WEBP format.
シンタックス
'宣言
Public Overloads Sub SaveAsWebp( _
ByVal As System.String, _
Optional ByVal As System.Nullable(Of Rectangle), _
Optional ByVal As System.Boolean, _
Optional ByVal As System.Integer, _
Optional ByVal As System.Integer _
)
public void SaveAsWebp(
System.string ,
System.Nullable<Rectangle> ,
System.bool ,
System.int ,
System.int
)
パラメータ
- path
- The output file path.
- clipRect
- Clipping rectangle of the image to be saved.
- lossless
- Either lossless (true) or lossy (false) webp format.
- quality
- The compression quality. Between 0 and 100.
- method
- The encoding method to use. Its a quality/speed trade-off (0=fast, 6=slower-better).
参照